parse-display
This crate provides derive macro Display
and FromStr
.
These macros use common helper attributes to specify the format.
Install
Add this to your Cargo.toml:
[]
= "0.10.0"
Documentation
See #[derive(Display)]
documentation for details.
Example
use ;
assert_eq!;
assert_eq!;
assert_eq!;
assert_eq!;
License
This project is dual licensed under Apache-2.0/MIT. See the two LICENSE-* files for details.
Contribution
Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.